package com.xiaoshuidi.cloud.module.rooms.service;

import com.xiaoshuidi.cloud.module.rooms.controller.admin.roomapartmentarea.vo.FuzzyQueryByAreaBuildingUnitVO;
import com.xiaoshuidi.cloud.module.rooms.pojo.RoomApartmentArea;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 公寓下的小区 服务类
 * </p>
 *
 * @author hans.zhang
 * @since 2023-05-11
 */
public interface IRoomApartmentAreaService extends IService<RoomApartmentArea> {

    /**
     * 根据小区楼栋单元名模糊查询楼栋单元信息
     * @param searchBox
     * @param apartmentId
     * @return
     */
    List<FuzzyQueryByAreaBuildingUnitVO> fuzzyQueryByAreaBuildingUnit(String searchBox, Long apartmentId);
}
